import React from 'react'

import { Form, Button } from 'antd'
import classNames from 'classnames'
import styles from './index.less'

const FormItem = Form.Item

const LoginSubmit = ({className, ...rest}) => {
	const clsString = classNames(styles.submit, className)
	return (
		<FormItem>
			<Button size="large" className={clsString} type="primary" htmlType="submit" {...rest}></Button>
		</FormItem>
	)
}

export default LoginSubmit